# 所有任务函数

import asyncio
from datetime import datetime


def print_sync():
    print(f"[{datetime.now()}] 同步任务执行")


async def print_async():
    print(f"[{datetime.now()}] 异步任务开始")
    await asyncio.sleep(1)
    print(f"[{datetime.now()}] 异步任务完成")